﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.IO;
using System.Diagnostics;
using DotNetImage.Metadata;

namespace DotNetImageTest
{
    class TestMetadata
    {
        [Test]
        public void testDirectory()
        {
            DirectoryInfo di = new DirectoryInfo(@"..\..\Samples\JPEG");
            foreach (FileInfo fi in di.GetFiles())
            {
                ProcessImage(fi.FullName);
            }
        }

        public static void ProcessImage(string fileName)
        {
            DotNetMetadata md = DotNetMetadata.Extract(fileName);
        }
    }
}
